projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9751c1e
)
(load_charset_map_from_file): When a mapfile can't be loaded, signal
author
Kenichi Handa
<handa@m17n.org>
Thu, 19 Mar 2009 00:46:26 +0000
(
00:46
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 19 Mar 2009 00:46:26 +0000
(
00:46
+0000)
an error.
src/charset.c
patch
|
blob
|
history
diff --git
a/src/charset.c
b/src/charset.c
index fa3515b5443567db9196a0e3bfd6ac111072780a..27812759e650d48c6f9985f5f76e9e68f78e8c9d 100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-522,10
+522,7
@@
load_charset_map_from_file (charset, mapfile, control_flag)
unbind_to (count, Qnil);
if (fd < 0
|| ! (fp = fdopen (fd, "r")))
- {
- add_to_log ("Failure in loading charset map: %S", mapfile, Qnil);
- return;
- }
+ error ("Failure in loading charset map: %S", SDATA (mapfile));
head = entries = ((struct charset_map_entries *)
alloca (sizeof (struct charset_map_entries)));